package com.ruoyi.scheme.pojo;

import com.alibaba.fastjson2.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


/**
 * 修复措施实体类
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RepairMeasure {
    /**
     * 措施ID
     */
    private Integer schemeId;

    /**
     * 措施名称
     */
    private Integer patchId;

    /**
     * 措施详情
     */
    private JSONObject repairScheme;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
